import request from '@/router/axios'

export function fetchCkReturnLogList(query) {
  return request({
    url: '/pvm/ckreturnlog/page',
    method: 'get',
    params: query
  })
}

export function addCkReturnLogObj(obj) {
  return request({
    url: '/pvm/ckreturnlog',
    method: 'post',
    data: obj
  })
}

export function getCkReturnLogObj(id) {
  return request({
    url: '/pvm/ckreturnlog/' + id,
    method: 'get'
  })
}

export function delCkReturnLogObj(id) {
  return request({
    url: '/pvm/ckreturnlog/' + id,
    method: 'delete'
  })
}

export function putCkReturnLogObj(obj) {
  return request({
    url: '/pvm/ckreturnlog',
    method: 'put',
    data: obj
  })
}
